
<meta charset="utf-8">
<script>
    var birth = new Date(1992,3,10,12,59,59);
    var now = new Date();
    var diff = now.getTime() - birth.getTime();
    alert(Math.floor(diff/(1000*60*60*24)));
</script>